package com.alibaba.nacos.naming.core.v2.client.factory;

import com.alibaba.nacos.naming.core.v2.client.Client;
import com.alibaba.nacos.naming.core.v2.client.ClientAttributes;

public interface ClientFactory<C extends Client> {
    String getType();

    C newClient(String clientId,
                ClientAttributes clientAttributes);

    C newSyncedClient(String clientId,
                      ClientAttributes attributes);
}
